import { http, jumpExport } from '@/utils/http/axios';

// 获取广告运营列表
export function List(params) {
  return http.request({
    url: '/opsBanners/list',
    method: 'get',
    params,
  });
}

// 添加/编辑广告运营
export function Edit(params) {
  return http.request({
    url: '/opsBanners/edit',
    method: 'POST',
    params,
  });
}

// 修改广告运营状态
export function Status(params) {
  return http.request({
    url: '/opsBanners/status',
    method: 'POST',
    params,
  });
}

// 获取广告运营指定详情
export function View(params) {
  return http.request({
    url: '/opsBanners/view',
    method: 'GET',
    params,
  });
}